<?php $this->load("header"); ?>

<?php
	if ( count($posts) == 0 )
	{
		echo "<p>There are currently no posts.</p>";
	}
	else {
		foreach ($posts as $post)
		{
			var_dump($post);
		}
	}
?>

<?php $this->load("footer"); ?>